import Component from "../component";
export default class TextComponent extends Component {
  property = 'C/T';
  componentName = 'text';
  // 所属账户code
  accountCode: string = '';
  max_group: number = 3;
  //
  type: 'title' | 'description' = 'description'
  content = ''
  expression: boolean = true
  placeholder = ''
  query() {
    return {
      content: this.content
    }
  }
  isEmpty() {
    return this.content.trim() === '';
  }

}
